package com.seckill.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * 
 * @author zhuxz
 * @email sunlightcs@gmail.com
 * @date 2022-06-19 09:38:15
 */
@Data
@TableName("activity_surface")
public class ActivitySurfaceEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 秒杀id
	 */
	@TableId
	private Integer seckillId;
	/**
	 * 秒杀名称
	 */
	private String seckillName;
	/**
	 * 开始时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**
	 * 结束时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endTime;
	/**
	 * 秒杀描述
	 */
	private String describes;
	/**
	 * 限购数量
	 */
	private Integer num;
	private Integer sid;
	/**
	 * 订单时间
	 */
	private Integer cancel;
	/**
	 * 是否开启
	 */
	private Integer seckillWhether;

}
